#include "DetailWidget.h"
#include "testWidgets/RightWidget.h"
#include <QStylePainter>
#include <QWindow>
#include <QVBoxLayout>
#if WIN32
#include <Windows.h>
#include <winuser.h>
#endif

DetailWidget::DetailWidget(QWidget* parent)
    : QWidget(parent)
{
	setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
	setupUi();
}

DetailWidget::~DetailWidget()
{

}

void DetailWidget::setupUi()
{
	QVBoxLayout* mainLayout = new QVBoxLayout(this);
	RightWidget* rightWidget = new RightWidget(this);
	mainLayout->addWidget(rightWidget);
	this->setLayout(mainLayout);
}

void DetailWidget::paintEvent(QPaintEvent* event)
{
    QStylePainter painter(this);
}

void DetailWidget::resizeEvent(QResizeEvent* event)
{

}
